﻿using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Online_Office.Model;
using Online_Office.ViewModel;

namespace Online_Office
{
    /// <summary>
    /// Interaction logic for Login.xaml
    /// </summary>
    public partial class Login : Window
    {
        public Login()
        {
            InitializeComponent();
            //设置数据上下文 （视图模型）
            UserViewModel userViewModel = new UserViewModel();
            this.DataContext = userViewModel;
        }
    }
}
